removed default initialization check, people must use gtk_type_init();
authorTim Janik <timj@gtk.org>
Sun, 29 Nov 1998 06:29:40 +0000 (06:29 +0000)
committerTim Janik <timj@src.gnome.org>
Sun, 29 Nov 1998 06:29:40 +0000 (06:29 +0000)
commit60e5a2102235880e3095114b8e38e53ab0fd3f81
tree3c71749c0f7e944756cfbacf42b950eef103269d
parent6edbb34d5495037a76ec3778849609eae74f5200
removed default initialization check, people must use gtk_type_init();

Sun Nov 29 06:12:01 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_unique): removed default initialization
        check, people must use gtk_type_init();

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant
        for internal use by containers, that want to assign specific composite
        names to their composite children.
        added gtk_widget_get_composite_name() which will return a newly
        allocated string, containing the composite name of a widget. valid
        composite names can only be retrived from widgets that have a parent
        assigned and are flagged as GTK_COMPOSITE_CHILD.

        * gtk/gtkcontainer.h:
        * gtk/gtkcontainer.c: added a new function
        gtk_container_child_default_composite_name() which will return a
        newly allocated string, holding the composite name of a containers
        child. a default implementation is provided which will compose the
        composite name out of the widgets type and its sequential children
        id. this implementation can be overidden through a new class function
        *(composite_name)().
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcontainer.c
gtk/gtkcontainer.h
gtk/gtktypeutils.c
gtk/gtkwidget.c
gtk/gtkwidget.h